/*
 * Copyright (c) 2022 Kirky-X
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.lingeringdream.luciole.model.param;

/**
 * 参数：文件
 *
 * @author Kirky
 * @version 1.0
 * @date 2022/3/25
 */
public class FileParam {
    /**
     * 文件的类型
     * <p>
     * 0: 身份证照片，1: 认证视频，2: 资讯图片
     */
    private Integer type;

    /**
     * 文件名称
     */
    private String fname;

    /**
     * 文件后缀
     */
    private String suffix;

    /**
     * 时间戳
     */
    private Long stamp;

    public FileParam() {
    }

    public FileParam(Integer type, String fname, String suffix, Long stamp) {
        this.type = type;
        this.fname = fname;
        this.suffix = suffix;
        this.stamp = stamp;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public Long getStamp() {
        return stamp;
    }

    public void setStamp(Long stamp) {
        this.stamp = stamp;
    }
}
